package com.dyg.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.dyg.model.UserRole;

public interface UserroleMapper {

	public void insertUserrole(UserRole userrole);

	public void deleteUserroleById(String userroleId);

	public void updateUserrole(UserRole userrole);

	public UserRole findUserroleById(String userroleId);

	public List<UserRole> findUserroleList();

	
	public Integer addUserRoles(@Param("userId")Integer userId,@Param("rids") List<Integer> rids);

}
